﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace XmlDSigEx
{
    class DataObject:IDataObject
    {
        public Action<XmlWriter> Creating
        {
            get;
            set;
        }

        public IManifest CreateManifest()
        {
            Manifest manifest = new Manifest();
            Creating = w =>
                {
                    manifest.Write(w);
                };
            return manifest;
        }

        public string ID
        {
            get;
            set;
        }
    }
}
